package com.ricky.onlineShop.shop.trading.mapStruct;

import com.ricky.onlineShop.shop.trading.pojo.Trading;
import com.ricky.onlineShop.shop.trading.vo.TradingVo;
import org.mapstruct.InheritInverseConfiguration;
import org.mapstruct.Mapper;

/**
 * @Author staticlan
 * @Date 2024/7/6 19:50
 * @Description:
 */
@Mapper
public interface TradingStruct {
    Trading toPojo(TradingVo tradingVo);

    @InheritInverseConfiguration(name = "toPojo")
    TradingVo toVo(Trading trading);


}
